﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Beacon.Random
{
    public abstract class Distribution
    {
        protected Generator Gtr {get;set;}

        protected Distribution()
            : this(new StandardGenerator())
        { 
        }

        protected Distribution(Generator generator)
        {
            Gtr = generator;
        }

        public virtual bool Reset()
        {
            return Gtr.Reset();
        }

        public abstract double NextDouble();
    }
}
